package onglets.apprenti;

import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JPanel;
import javax.swing.JLabel;

import java.awt.Font;
import java.awt.Color;

import javax.swing.SwingConstants;
import javax.swing.JScrollPane;

import java.awt.Component;
import java.awt.SystemColor;

import javax.swing.ScrollPaneConstants;

import java.awt.Dimension;


public class AttitudesetComportement extends JPanel{

	public AttitudesetComportement()
	{
		super();
		setLayout(null);
		
		JComboBox ld_apprenti = new JComboBox();
		ld_apprenti.setBounds(10, 12, 122, 20);
		add(ld_apprenti);
		
		JComboBox ld_date = new JComboBox();
		ld_date.setBounds(142, 12, 122, 20);
		add(ld_date);
		
		JButton btn_new = new JButton("Nouveau");
		btn_new.setBounds(617, 11, 89, 23);
		add(btn_new);
		
		JButton btn_update = new JButton("Modifier");
		btn_update.setBounds(617, 45, 89, 23);
		add(btn_update);
		
		JComboBox ld_emetteur = new JComboBox();
		ld_emetteur.setBounds(274, 12, 122, 20);
		add(ld_emetteur);
		
		JScrollPane scrollPane = new JScrollPane((Component) null);
		scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
		scrollPane.setPreferredSize(new Dimension(275, 160));
		scrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
		scrollPane.setBackground(SystemColor.inactiveCaption);
		scrollPane.setBounds(10, 43, 597, 326);
		add(scrollPane);

	}
}